/**
 * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/

body {
  margin: 0;
  padding: 0;
}

.blog-title {
  width: fit-content;
  font-size: 24px;
}

.list-item {
  cursor: pointer;
  transition: background-color 0.2s;
}

.list-item:hover {
  background-color: #f5f5f5;
}

.delete-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ff4444;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.delete-btn:hover {
  background-color: #cc0000;
}

.edit-btn {
  position: absolute;
  top: 10px;
  right: 100px;
  background-color: #2196f3;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.edit-btn:hover {
  background-color: #1976d2;
}

.username {
  font-weight: bold;
}

.blog-author {
  color: #666;
}

.logout-btn:hover {
  background-color: #d32f2f;
}

.login-submit-btn:hover {
  background-color: #1976d2;
}

.comment-author {
  font-weight: bold;
  color: #333;
}

.comment-text {
  margin-top: 5px;
}

.comment-input:focus {
  outline: 2px solid #2196f3;
}

.comment-submit-btn:hover {
  background-color: #1976d2;
}

.chess-black {
  background-color: #000;
}

.chess-white {
  background-color: #fff;
}